IdeaBlade.Core Assembly > IdeaBlade.Core.PlatformServices Namespace > AesCryptoProvider Class > AesEncrypt Method : AesEncrypt(String,Byte[],Boolean) Method |
'Declaration
Public Overloads Function AesEncrypt( _ ByVal valueToEncrypt As String, _ ByVal key() As Byte, _ ByVal fipsCompliant As Boolean _ ) As String
'Usage
Dim instance As AesCryptoProvider Dim valueToEncrypt As String Dim key() As Byte Dim fipsCompliant As Boolean Dim value As String value = instance.AesEncrypt(valueToEncrypt, key, fipsCompliant)
public string AesEncrypt( string valueToEncrypt, byte[] key, bool fipsCompliant )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2